/**
 * 文件名：****.java
 * 版权：Copyright Lightkit All Rights Reserved.
 * 描述：*****
 */
package com.lightkits.wms.dto.allotmanagementpc.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;

/**
 * @author 魏静
 * @create 2019-07-19 15:35
 * @desc 领料单行参数
 **/
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
public class RequestLinePcDto {

    @NotEmpty
    @ApiModelProperty(name = "领料单头Id")
    private String requestHeaderId;

    @ApiModelProperty(name = "领料单行Id")
    private String requestLineId;


    @ApiModelProperty(name = "领料单行号")
    private String requestLineNumber;

    @ApiModelProperty(name = "物料Id")
    @NotEmpty
    private String itemId;

    @ApiModelProperty(name = "物料描述")
    @NotEmpty
    private String itemDesc;

    @ApiModelProperty(name = "请求数量")
    @NotEmpty
    private String applyQty;

    @ApiModelProperty(name = "批次")
    private String lotNumber;

    @ApiModelProperty(name = "单位")
    @NotEmpty
    private String uomCode;

    @ApiModelProperty(name = "来源仓库Id")
    @NotEmpty
    private String fromWarehouseId;

    @ApiModelProperty(name = "来源仓库名称")
    @NotEmpty
    private String fromWarehouseName;

    @ApiModelProperty(name = "目标仓库Id")
    @NotEmpty
    private String toWarehouseId;

    @ApiModelProperty(name = "目标仓库名称")
    @NotEmpty
    private String toWarehouseName;

    @ApiModelProperty(name = "发出数量")
    @NotEmpty
    private String sendQty;

    @ApiModelProperty(name = "接收数量")
    @NotEmpty
    private String receiveQty;

    @ApiModelProperty(name = "单价")
    private String unitPrice;

    @ApiModelProperty(name = "是否开启条码管理")
    @NotEmpty
    private boolean tagControl;

    @ApiModelProperty(name = "备注")
    private String remark;
}
